﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MasterPageIframeArea.aspx.cs"
    Inherits="HZ.Supervise.Web.Master.MasterPageIframeArea" %>

<%@ Register Src="UserSiteMapPath.ascx" TagName="UserSiteMapPath" TagPrefix="uc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<%@ Register Src="../Common/WebUserArea.ascx" TagName="WebUserArea" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>监管系统</title>
    <link rel="stylesheet" type="text/css" href="../Style/s-type.css" />

    <script type="text/javascript" src="../scripts/My97DatePicker/WdatePicker.js"></script>

    <script type="text/javascript" src="../scripts/Common.js"></script>

    <script type="text/javascript" src="../scripts/global.js"></script>

    <script type="text/javascript" src="../scripts/PCASClass.js"></script>

    <script type="text/javascript" src="../scripts/jquery.js"></script>

    <script type="text/javascript" src="../scripts/mainlistSelect.js"></script>

    <script src="../scripts/DynaForm.js" type="text/javascript"></script>

    <script src="../scripts/GenUtils.js" type="text/javascript"></script>

    <script src="../../Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>

    <style type="text/css">
        .style2
        {
            width: 105px;
        }
    </style>

    <script type="text/javascript">
        function Button1_onclick() {
            var vareid;
            if ($("#WebUserArea1_ddlCountry").val() == "0") {
                //如果地市为全部  全省为全部 返回空
                if ($("#WebUserArea1_ddlCity").val() == "0") {
                    vareid = "";
                }
                //如果地市为全部  省市有值 返回空省市值
                else {
                    vareid = $("#WebUserArea1_ddlCity").val();
                }
            } //如果地市有值 返回地市值
            else {
                vareid = $("#WebUserArea1_ddlCountry").val();
            }

            $("#ifmain").attr("src", "../Secondphase/ReportArea/ReportOfAreaFirstLevel.aspx?aid=" + vareid);


        }
        function logout() {
            if (confirm("确定要退出系统吗？")) {
                location.replace("../Common/logout.aspx");
            }
        }


        function loadcity() {

            $.get("../Common/GetArea.ashx", { areaid: $("#WebUserArea1_ddlCity").val() }, function(data) {
                $("#WebUserArea1_ddlCountry").empty();

                for (var n in data) {
                    $("#WebUserArea1_ddlCountry").append("<option value='" + data[n] + "'>" + n + "</option>");
                }
            }, "json");
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <div id="s-top">
            <div id="s-head">
                <div id="s-logo">
                    <img src="../lib/images/second_logo.gif" />
                    <div id="s-p">您好：欢迎使用监管系统！<br />
                    <a href="#">[网站主页]</a> <a href="javascript:void(0);" onclick="CallFunc('../Admin/PasswordUpdate.aspx','FORM',null);">[修改密码]</a> 
                    <a href="javascript:void(0);" onclick="javascript:logout();return false;">[注销退出]</a> 
                 </div>
                </div>
                <div id="s-add">
                    <ul>
                        <li><a href="../Master/MasterPageIframeArea_New.aspx">
                            <img src="../lib/images/s-add-zx2.gif" /></a> </li>
                        <li><a href="../Master/MasterPageIframeStatistics.aspx">
                            <img src="../lib/images/s-add-bb.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeHospital.aspx">
                            <img src="../lib/images/s-add-yy.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeCompany.aspx">
                            <img src="../lib/images/s-add-qy.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeArea.aspx">
                            <img src="../lib/images/s-add-dq.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeSort.aspx">
                            <img src="../lib/images/s-add-lb.gif" /></a></li>
                        <li><a href="../Default.aspx" target="_self">
                            <img src="../lib/images/s-add-zdy.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeComparison.aspx">
                            <img src="../lib/images/s-add-db.gif" /></a></li>
                    </ul>
                </div>
            </div>
<%--            <div id="s-hello">
                <div id="s-hello-l">
                    您好：欢迎使用监管系统！</div>
                <div id="s-hello-r">
                    <ul>
                        <li><a href="#">[网站主页]</a></li>
                        <li><a href="javascript:void(0);" onclick="CallFunc('../Admin/PasswordUpdate.aspx','FORM',null);">
                            [修改密码]</a></li>
                        <li><a href="javascript:void(0);" onclick="javascript:logout();return false;">[注销退出]</a></li>
                    </ul>
                </div>
            </div>--%>
        </div>
        <div id="s-center">
            <div id="s-left">
                <uc2:WebUserArea ID="WebUserArea1" runat="server" />
                <input id="Button1" type="button" value="查询" class="searchbtn" onclick="return Button1_onclick()" />
                <br />
            </div>
            <div id="s-main">
                <iframe id="ifmain" name="mainWorkArea" src="../Secondphase/ReportArea/ReportOfAreaFirstLevel.aspx"
                    width="100%" height="500px" frameborder="0" scrolling="yes"></iframe>
            </div>
        </div>
        <div id="s-bottom">
            江苏华招网信息技术有限公司 技术支持
        </div>
    </div>
    </form>
</body>
</html>
